import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { ReactiveFormsModule } from '@angular/forms';
import { NgModule } from '@angular/core';
import { HttpClientModule } from '@angular/common/http';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { BackEndTestComponent } from './pages/back-end-test/back-end-test.component';
import { FrontComponent } from './pages/front/front.component';
import { HomeComponent } from './pages/home/home.component';
import { NotFoundComponent } from './pages/not-found/not-found.component';
import { UserComponent } from './pages/user/user.component';
import { LoginComponent } from './pages/login/login.component';
import { RegisterComponent } from './pages/register/register.component';
import { LuckyInfoComponent } from './shared/components/lucky-info/lucky-info.component';
import { LuckyTableComponent } from './shared/components/lucky-table/lucky-table.component';
import { AuthService } from './shared/services/auth.service';
import { AddLuckyTableComponent } from './shared/components/add-lucky-table/add-lucky-table.component';
import { LuckyTableService } from './shared/services/lucky-table.service';

@NgModule({
  declarations: [
    AppComponent,
    BackEndTestComponent,
    FrontComponent,
    HomeComponent,
    NotFoundComponent,
    UserComponent,
    LoginComponent,
    RegisterComponent,
    LuckyInfoComponent,
    LuckyTableComponent,
    AddLuckyTableComponent
  ],
  imports: [
    BrowserModule,
    BrowserAnimationsModule,
    AppRoutingModule,
    ReactiveFormsModule,
    HttpClientModule
  ],
  providers: [AuthService, LuckyTableService],
  bootstrap: [AppComponent]
})
export class AppModule {}
